package com.mvp.shq.washer.ui.shareApp;

import com.mvp.shq.washer.base.BaseModel;
import com.mvp.shq.washer.base.BasePresenter;
import com.mvp.shq.washer.base.BaseView;
import com.mvp.shq.washer.entity.result.BaseResult;

import io.reactivex.Observable;

/**
 * Created by Administrator on 2017/8/24.
 */

public interface ShareAppConstract {
    interface Model extends BaseModel{
        Observable<BaseResult<String>> shareRecord(String userId,String mobile,String type);
        Observable<BaseResult<Integer>> shareCount(String token,String userId);
    }
    interface View extends BaseView{
        void shareS();
        void shareF();
        void countF();
        void countS(int count);
    }
    public abstract class Presenter extends BasePresenter<Model,View>{
        abstract void shareApp(String type);
        abstract void shareCount();
    }
}
